package com.kde.crisisdepalabras;

import java.util.concurrent.ExecutionException;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class NewCombatActivity extends Activity 
{
	public GlobalClass GlobalVariable;
	
	  @Override
	    protected void onCreate(Bundle savedInstanceState)
	    {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.activity_newcombat);

	        Intent i= getIntent();
	        this.GlobalVariable = (GlobalClass)getApplicationContext();

	    }
	  
	   	 public void FacebookClick(View view) throws InterruptedException, ExecutionException 
	   	 {

	   		 int result = new PlayerLoadTask(NewCombatActivity.this).execute().get();
			 
	   		 Intent playerSelection = new Intent(NewCombatActivity.this, PlayersSelection.class);
	   	  	 startActivityForResult(playerSelection, 0); 
	   	 }
	   	 
	   	 public void RandomClick(View view)
	   	 {

	   	 }
  	
	   	 
}
